<?php defined('BASEPATH') OR exit('No direct script access allowed');

class Migration_Table_commodity_tag_AddColumn_Values extends CI_Migration
{
    public function up()
    {
        $fields = array(
            'values'    => array('type' => 'VARCHAR', 'constraint' => '20', 'null'=>true),
        );
        $this->dbforge->add_column('commodity_tag', $fields);
    }

    public function down()
    {
        $this->dbforge->drop_column('commodity_tag', 'values');
    }
}